package com.company.gas.mapper;

import com.company.gas.pojo.GasDeli;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.math.BigDecimal;
import java.util.List;

@Mapper
@Repository
public interface GasDeliMapper {
    List<GasDeli> queryGasDeliList();

    GasDeli queryGasDeliByID(@Param(value = "deliId") String deliId);

    int addGasDeli(@Param(value = "deliId") String deliId , @Param(value = "deliStart") String deliStart,
                   @Param(value = "deliFinish") String deliFinish , @Param(value = "deliAmount") BigDecimal deliAmount ,
                   @Param(value = "createBy") String createBy);
}
